Skip to content

fix: use npx for portable completion scripts#76

Merged
Aslemammad merged 2 commits intomainfrom
fix/portable
Oct 18, 2025
Merged

fix: use npx for portable completion scripts#76
Aslemammad merged 2 commits intomainfrom
fix/portable

Conversation

@AmirSa12
Copy link
Copy Markdown
Member

When users generate completion scripts via npx @bomb.sh/tab, the generated scripts contained absolute file paths pointing to temporary npx cache directories. this will cause the completions to break when users re-install or update the package ( the hash cahnges ) or when scripts are shared between users, or when users run npm cache clean
as for a fix, I used npx since its installed wherever node is installed, and also kept using absolute path for testing local changes and maintanance.
so node dist/bin/cli.js uses absolute path and npx @bomb.sh/tab uses npx command

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Oct 18, 2025

🦋 Changeset detected

Latest commit: 98d8dbb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bomb.sh/tab Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Oct 18, 2025

Open in StackBlitz

npm i https://pkg.pr.new/bombshell-dev/tab/@bomb.sh/tab@76

commit: 98d8dbb

@Aslemammad Aslemammad merged commit 7178288 into main Oct 18, 2025
9 checks passed
@Aslemammad Aslemammad deleted the fix/portable branch October 18, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants